- permettre aux visiteurs de refuser d’être suivis (Opt-out) (exemple)
- désactiver les cookies + s’assurer qu’on ne track pas de données personnelles dans Matomo (même sans cookie)
- anonymiser les IP : anonymiser au moins 2 octets via l’admin de Matomo
- anonymiser le référent via l’admin de Matomo
- exclure les données personnelles des URL et titre des pages
- exclure les données personnelles des variables personnalisées, dimensions, évènements (usage avancé)
- masquer les données personnelles dans les heatmaps et les enregistrements d’écran (usage avancé)
- exclure les identifiants de commande de commerce électronique (usage avancé)
Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
def _exapnd_regex(a, p, out_strings): | |
one = False | |
last = 0 | |
d = p.finditer(a) | |
for e in d: | |
one = True | |
grp = e.group() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { polyfillDeclarativeShadowDom } from "./pollyfill"; | |
/** | |
* Multi-handle range slider input Web Component | |
* @class RangeSlider | |
* @extends HTMLElement | |
* @property {number} min - Minimum value of the slider | |
* @property {number} max - Maximum value of the slider | |
* @property {number} step - Step value of the slider | |
* @property {number[]} values - Array of values for each handle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this file in the same folder than your manim script | |
# and start your script with: | |
# | |
# import light_theme | |
from manim import * | |
config.background_color = WHITE | |
# Those are objects which are WHITE by default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i386 : iPhone Simulator | |
x86_64 : iPhone Simulator | |
arm64 : iPhone Simulator | |
iPhone1,1 : iPhone | |
iPhone1,2 : iPhone 3G | |
iPhone2,1 : iPhone 3GS | |
iPhone3,1 : iPhone 4 | |
iPhone3,2 : iPhone 4 GSM Rev A | |
iPhone3,3 : iPhone 4 CDMA | |
iPhone4,1 : iPhone 4S |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
Do you need a refresher on git? Go through Codecademy's git
course.
-
Using your terminal/command line, get inside the folder where your project files are kept:
cd /path/to/my/codebase
. → You cannot do this simply by opening the folder normally, you must do this with the command line/terminal.
→ Do you need a refresher on using your command line/terminal? I've compiled my favorite resources here. -
Check if git is already initialized:
git status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
from typing import Union, Literal, Optional | |
import openai | |
import requests | |
import os, io | |
from PIL import Image | |
from openai import OpenAI | |
import uuid | |
import argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadDisplayName</key> | |
<string>tony-edge-lite</string> | |
<key>PayloadIdentifier</key> | |
<string>io.tonyxu.edge-lite</string> | |
<key>PayloadType</key> | |
<string>Configuration</string> |
NewerOlder